-- GENERATED SPELL FOR [Alliance Footman] --


function spell0_17919(pUnit, Event) --@Shield Wall,Self--
pUnit:FullCastSpellOnTarget(31731,pUnit)
pUnit:RegisterEvent('Sorts_17919', 10265, 1)
end

function Sorts_17919(pUnit, Event)
local choix_sorts_17919 = math.random(0, 0)
if choix_sorts_17919 == 0 then
pUnit:RegisterEvent('spell0_17919', 1, 1)
end
end

function mob17919_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_17919', math.random(1500, 3000), 1)
end

function mob17919_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob17919_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob17919_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(17919, 1, 'mob17919_Action')
RegisterUnitEvent(17919, 2, 'mob17919_Leave')
RegisterUnitEvent(17919, 3, 'mob17919_Kill')
RegisterUnitEvent(17919, 4, 'mob17919_Die')
